package com.wanxi.test;

import java.text.ParseException;
import java.text.SimpleDateFormat;

public class MyTesta extends Parent {
    private String name;

    public MyTesta() {

    }

    public MyTesta(String name) {
        this();
        this.name = name;
    }

    public static void main(String[] args) throws ParseException {
        System.out.println("aa");
//        javac HelloWorld.java 编译
//        java HelloWorld; 执行
//        Integer.valueOf("a");
//        NumberFormatException
//        System;

        SimpleDateFormat simpleDateFormat = new SimpleDateFormat("aa");
        simpleDateFormat.parse("aaa");
//        System;
        nullString();
        nullString2();
    }
    public static void nullString(){
        String a = null;
        System.out.println(a.equals("a"));
    }
    public static void nullString2(){
        String a = null;
        System.out.println(a.equals("a"));
    }
}
